Skip to main content

MCP (Model Context Protocol) Integration

Catalyst provides Model Context Protocol (MCP) integration that exposes a comprehensive tool providing complete context of the Catalyst framework to LLM-powered development tools like Claude Desktop, Cursor, and Deputy Dev. This enables more accurate and framework-aware assistance during development.

Setting Up MCP Support

When creating a new Catalyst application, you can enable MCP support during the setup process:

npx create-catalyst-app@latest

You'll be prompted with:

Add MCP (Model Context Protocol) support? (Y/n)

Selecting Y will create a local mcp.js file in your project that can be linked to any MCP-supporting client.

Connecting to MCP Clients

Replace /complete/path/to/your/project/mcp/mcp.js with the absolute path to your project's mcp.js file.

Claude Desktop

To connect your Catalyst MCP server to Claude Desktop, add the following configuration to your claude_desktop_config.json file:

{
"mcpServers": {
"catalyst": {
"command": "node",
"args": ["/complete/path/to/your/project/mcp/mcp.js"]
}
}
}

Cursor

For Cursor integration, create or update .cursor/mcp.json in your project root:

{
"mcpServers": {
"catalyst": {
"command": "node",
"args": ["/complete/path/to/your/project/mcp/mcp.js"]
}
}
}

Deputy Dev

For Deputy Dev integration, create or update .deputydev/mcp_settings.json in your project root:

{
"mcp_servers": {
"catalyst": {
"command": "node",
"args": ["/complete/path/to/your/project/mcp/mcp.js"]
}
}
}